package org.eweb4j.config.bean;

import org.eweb4j.util.xml.tag.XmlTag;
import org.eweb4j.util.xml.tag.XmlTagType;

public class Prop {
	@XmlTag(type = XmlTagType.attriType)
	private String id;
	@XmlTag(type = XmlTagType.attriType)
	private String path;
	@XmlTag(type = XmlTagType.attriType, value = "false")
	private String global;

	// @XmlTag(type = XmlTagType.attriType, value =
	// "org.eweb4j.config.bean.Prop")
	// private String xmlBean = this.getClass().getName();

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	// public String getXmlBean() {
	// return xmlBean;
	// }
	//
	// public void setXmlBean(String xmlBean) {
	// this.xmlBean = xmlBean;
	// }

	public String getGlobal() {
		return global;
	}

	public void setGlobal(String global) {
		this.global = global;
	}

	@Override
	public String toString() {
		return "Prop [id=" + id + ", path=" + path + ", global=" + global + "]";
	}

}
